package com.ctgu.tengyun.service.permission;

import com.ctgu.tengyun.bean.response.RolePermission;
import com.ctgu.tengyun.domain.PermissionRole;

import java.util.Collection;
import java.util.List;

/**
 * Created by liaoweizhi on 2019/8/15.
 */
public interface PermissionRoleService {

    List<PermissionRole> findByRoleId(Integer roleId);

    int upsert(RolePermission rolePermission);

}
